package com.zmn.oms.common.dio.normal.orderadd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName NewOrderDistributeMasterDTO
 * @description: 下单-派单工程师DTO
 * @author: wangyanci
 * @create: 2021-12-14 18:25
 * @Version 1.0
 **/
@Data
@ApiModel("添加工单派单工程师入参")
public class OrderDistributeMasterDIO implements Serializable {

    /**
     * 前台产品id
     */
    @NotNull(message = "前台产品ID不能为空")
    @ApiModelProperty(value = "产品ID", notes = "前台产品")
    private Integer showProductId;

    /**
     * 后台产品id
     */
    @NotNull(message = "后台产品ID不能为空")
    @ApiModelProperty(value = "产品ID", notes = "后台产品")
    private Integer productId;

    /**
     * 派单工程师id
     */
    @ApiModelProperty(value = "派单工程师id", notes = "工程师id")
    private Integer distributeMasterId;

    /**
     *派单工程师日志
     */
    @ApiModelProperty(value = "派单工程师日志", notes = "派单工程师日志")
    private String distributeMasterLog;

    /**
     * 派单JSON
     */
    @ApiModelProperty(value = "派单JSON", notes = "派单JSON")
    private String distributeJsonStr;
}